package common.utils;

import android.content.Context;
import android.widget.Toast;

/**
 * Created by yinzhiqun on 2015/8/31.
 */
public class PromptUtil{

    public static void toast(Context context, String text) {
        Toast.makeText(context,text,Toast.LENGTH_SHORT).show();
    }

    public static void toast(Context context, int id){
        Toast.makeText(context,id,Toast.LENGTH_SHORT).show();
    }


    public static void longToast(Context context, String text) {
        Toast.makeText(context,text,Toast.LENGTH_LONG).show();
    }

    public static void longToast(Context context, int id) {
        Toast.makeText(context,id,Toast.LENGTH_LONG).show();
    }
}
